package com.regent.central.bill.service.bean;

import com.regent.central.bill.core.SaleOrderActionLogging;
import com.regent.central.bill.dto.sale_order.SaleOrderActionLoggingDTO;
import com.regent.central.bill.repository.SaleOrderActionLoggingMapper;
import com.regent.central.bill.service.SaleOrderActionLoggingService;
import com.regent.central.infrastructure.service.bean.DomainServiceBean;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 销售单动作变动日志Service实现
 *
 * @author 杨昌沛 646742615@qq.com
 * @date 2018-07-03 10:59
 **/
@Service
public class SaleOrderActionLoggingServiceBean extends DomainServiceBean<SaleOrderActionLoggingMapper, SaleOrderActionLogging> implements SaleOrderActionLoggingService {
    /**
     * 获取销售单动作的变动日志
     *
     * @param actionId 动作ID
     * @return 销售单动作的变动日志
     */
    @Override
    public List<SaleOrderActionLoggingDTO> getSaleOrderActionLoggings(String actionId) {
        return mapper.getSaleOrderActionLoggings(actionId);
    }

}
